/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.woundedwolf.android.tumbleweed;

import com.woundedwolf.android.tumbleweed.elements.Vector2D;

/**
 *
 * @author FlameDuck
 */
public class Pixel
{
	protected Vector2D position;
	protected int color;

	public Pixel(float xpos, float ypos, int color)
	{
		this.position = new Vector2D(xpos, ypos);
		this.color = color;
	}

	public Pixel(Vector2D position, int color)
	{
		this(position.getXpos(), position.getYpos(), color);
	}

	public int getColor()
	{
		return color;
	}

	public Vector2D getPosition()
	{
		return position;
	}

	public void setColor(int color)
	{
		this.color = color;
	}

	public void setPosition(Vector2D position)
	{
		this.position = position;
	}
}
